package com.soma.game.entity;

import com.soma.game.enums.BooleanStatus;
import com.soma.game.enums.Sex;
import com.soma.game.enums.UserStatus;
import com.soma.game.enums.UserType;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * <p>
 * <code>
 * t_user
 * </code>
 */
public class User implements Serializable {
    private static final long serialVersionUID = 1849815956284538250L;

    /**
     * ID
     * <p>
     * <code>
     * id
     * </code>
     */
    private Long id;

    /**
     * 用户唯一ID
     * <p>
     * <code>
     * uid
     * </code>
     */
    private Long uid;

    /**
     * 真实姓名
     * <p>
     * <code>
     * name
     * </code>
     */
    private String name;

    /**
     * 手机号码
     * <p>
     * <code>
     * mobile
     * </code>
     */
    private String mobile;

    /**
     * 性别 ：[参考枚举：EnumSex]
     * <p>
     * <code>
     * sex
     * </code>
     */
    private Sex sex;

    /**
     * 昵称
     * <p>
     * <code>
     * nick_name
     * </code>
     */
    private String nickName;

    /**
     * 头像
     * <p>
     * <code>
     * head_img
     * </code>
     */
    private String headImg;

    /**
     * 用户类型 ：[参考枚举：EnumUserType]
     * <p>
     * <code>
     * type
     * </code>
     */
    private UserType type;

    /**
     * 状态
     * <p>
     * <code>
     * status
     * </code>
     */
    private UserStatus status;

    /**
     * 状态
     * <p>
     * <code>
     * active_flg
     * </code>
     */
    private BooleanStatus activeFlg;

    /**
     * 创建者
     * <p>
     * <code>
     * created_by
     * </code>
     */
    private Long createdBy;

    /**
     * 创建时间
     * <p>
     * <code>
     * created_dt
     * </code>
     */
    private Date createdDt;

    /**
     * 更新者
     * <p>
     * <code>
     * last_up_by
     * </code>
     */
    private Long lastUpBy;

    /**
     * 更新时间
     * <p>
     * <code>
     * last_up_dt
     * </code>
     */
    private Date lastUpDt;

    /**
     * 过期时间
     * <p>
     * <code>
     * expired_time
     * </code>
     */
    private Date expiredTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public Sex getSex() {
        return sex;
    }

    public void setSex(Sex sex) {
        this.sex = sex;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg == null ? null : headImg.trim();
    }

    public UserType getType() {
        return type;
    }

    public void setType(UserType type) {
        this.type = type;
    }

    public UserStatus getStatus() {
        return status;
    }

    public void setStatus(UserStatus status) {
        this.status = status;
    }

    public BooleanStatus getActiveFlg() {
        return activeFlg;
    }

    public void setActiveFlg(BooleanStatus activeFlg) {
        this.activeFlg = activeFlg;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDt() {
        return createdDt;
    }

    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }

    public Long getLastUpBy() {
        return lastUpBy;
    }

    public void setLastUpBy(Long lastUpBy) {
        this.lastUpBy = lastUpBy;
    }

    public Date getLastUpDt() {
        return lastUpDt;
    }

    public void setLastUpDt(Date lastUpDt) {
        this.lastUpDt = lastUpDt;
    }

    public Date getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(Date expiredTime) {
        this.expiredTime = expiredTime;
    }
}